package com.xnyzc.lhy.common.constant;

/**
 * Netty【通讯类型类】
 *
 * @author liuju
 * @create 2019-07-17 13:23
 */
public class MethodConstant {

    //#######################################----通用---##############################################################

    /**
     * 通用 --  心跳[推送]
     */
    public static final String OK = "OK";

    /**
     * 通用 --  心跳[推送]
     */
    public final static String PING = "PING";

    public final static String FLIGHT_CHANGED="FLIGHT_CHANGED";


    // ##########################################----司机端----#################################################
    /**
     * 司机端 --  预约订单提醒[推送]
     */
    public final static String NEW_ORDER_NOTICE = "NEW_ORDER_NOTICE";

    /**
     * 司机端 --  派发订单提醒[推送]
     */

    public final static String DIS_ORDER_NOTICE = "DIS_ORDER_NOTICE";

    /**
     * 司机端 --  司机上传位置[接受]
     */
    public final static String GDLOC = "GD_LOCATION";

    /**
     * 司机端--注册司机端与TCP的连接
     */
    public final static String DRIVER_REGIST = "DRIVER_REGIST";

    /**
     * 司机端 --  司机轨迹[推送]
     */
    public final static String USER_GPS = "USER_GPS";

    public final static String MILEAGE_BILLING = "MILEAGE_BILLING";

    /**
     * 司机端 -- 司机获取订单信息[接受]
     */
    public final static String DRIVER_GET_ORDER_MESSAGE = "DRIVER_GET_ORDER_MESSAGE";

    /**
     * 司机状态同步
     */
    public final static String DRIVER_STATUS_SYNC = "DRIVER_STATUS_SYNC";

    /**
     * 司机端 -- 乘客取消订单[推送]
     */
    public final static String CANCEL_ORDER = "CANCEL_ORDER";


    // #######################################乘客端###########################################################
    /**
     * 乘客端 --  订单被接受[推送]
     */
    public final static String ORDER_RECEIVE = "ORDER_RECEIVE";

    /**
     * 乘客端 --  当前排队情况[推送]
     */
    public final static String WAIT_QUEUE = "WAIT_QUEUE";

    /**
     * 乘客端 --  到达预约地点[推送]
     */
    public final static String ARRIVE_RESERVATION = "ARRIVE_RESERVATION";

    /**
     * 乘客端 --  用户定位推送[推送]
     */
    public final static String VEH_GPS = "VEH_GPS";

    /**
     * 乘客端 --  用户定位上传[接受]
     */
    public final static String USER_UPLOAD_GPS = "USER_UPLOAD_GPS";


    public static final String NOTARIZE_GET_ON = "NOTARIZE_GET_ON";
    /**
     * 到达目的地推送
     */
    public static final String END_TAKING_PASSENGERS = "END_TAKING_PASSENGERS";
    /**
     * 司机端 -- 发起收款[推送]
     */
    public final static String INITIATE_PAYMENT = "INITIATE_PAYMENT";

    /**
     * 乘客端 -- 根据订单获取订单信息[接受]
     */
    public final static String CLIENT_GET_ORDER_MESSAGE = "CLIENT_GET_ORDER_MESSAGE";
}
